home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / amigaguide_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-28  |  2.3 KB  |  74 lines

  1. #ifndef  CLIB_AMIGAGUIDE_PROTOS_H
  2. #define  CLIB_AMIGAGUIDE_PROTOS_H
  3.  
  4. /*
  5. **    $VER: amigaguide_protos.h 39.4 (17.6.1993)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. **    Copyright © 1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /* __cplusplus */
  16.  
  17. #ifndef  EXEC_TYPES_H
  18. #include <exec/types.h>
  19. #endif
  20. #ifndef  EXEC_PORTS_H
  21. #include <exec/ports.h>
  22. #endif
  23. #ifndef  DOS_DOS_H
  24. #include <dos/dos.h>
  25. #endif
  26. #ifndef  LIBRARIES_AMIGAGUIDE_H
  27. #include <libraries/amigaguide.h>
  28. #endif
  29. #ifndef  UTILITY_TAGITEM_H
  30. #include <utility/tagitem.h>
  31. #endif
  32. #ifndef  UTILITY_HOOKS_H
  33. #include <utility/hooks.h>
  34. #endif
  35. #ifndef  REXX_STORAGE_H
  36. #include <rexx/storage.h>
  37. #endif
  38. /*--- functions in V40 or higher (Release 3.1) ---*/
  39.  
  40. /* Public entries */
  41.  
  42. LONG LockAmigaGuideBase( APTR handle );
  43. VOID UnlockAmigaGuideBase( LONG key );
  44. APTR OpenAmigaGuideA( struct NewAmigaGuide *nag, struct TagItem * );
  45. APTR OpenAmigaGuide( struct NewAmigaGuide *nag, Tag tag1, ... );
  46. APTR OpenAmigaGuideAsyncA( struct NewAmigaGuide *nag, struct TagItem *attrs );
  47. APTR OpenAmigaGuideAsync( struct NewAmigaGuide *nag, Tag tag1, ... );
  48. VOID CloseAmigaGuide( APTR cl );
  49. ULONG AmigaGuideSignal( APTR cl );
  50. struct AmigaGuideMsg *GetAmigaGuideMsg( APTR cl );
  51. VOID ReplyAmigaGuideMsg( struct AmigaGuideMsg *amsg );
  52. LONG SetAmigaGuideContextA( APTR cl, ULONG id, struct TagItem *attrs );
  53. LONG SetAmigaGuideContext( APTR cl, ULONG id, Tag tag1, ... );
  54. LONG SendAmigaGuideContextA( APTR cl, struct TagItem *attrs );
  55. LONG SendAmigaGuideContext( APTR cl, Tag tag1, ... );
  56. LONG SendAmigaGuideCmdA( APTR cl, STRPTR cmd, struct TagItem *attrs );
  57. LONG SendAmigaGuideCmd( APTR cl, STRPTR cmd, Tag tag1, ... );
  58. LONG SetAmigaGuideAttrsA( APTR cl, struct TagItem *attrs );
  59. LONG SetAmigaGuideAttrs( APTR cl, Tag tag1, ... );
  60. LONG GetAmigaGuideAttr( Tag tag, APTR cl, ULONG *storage );
  61. LONG LoadXRef( BPTR lock, STRPTR name );
  62. VOID ExpungeXRef( VOID );
  63. APTR AddAmigaGuideHostA( struct Hook *h, STRPTR name, struct TagItem *attrs );
  64. APTR AddAmigaGuideHost( struct Hook *h, STRPTR name, Tag tag1, ... );
  65. LONG RemoveAmigaGuideHostA( APTR hh, struct TagItem *attrs );
  66. LONG RemoveAmigaGuideHost( APTR hh, Tag tag1, ... );
  67. STRPTR GetAmigaGuideString( LONG id );
  68.  
  69. #ifdef __cplusplus
  70. }
  71. #endif /* __cplusplus */
  72.  
  73. #endif   /* CLIB_AMIGAGUIDE_PROTOS_H */
  74.